<script>
export default {
  _tip_: '表单参数封装组件模板-简介',
  props: {
    name: {
      type:String,
      default:''
    },
    modelValue: {
      type:[String,Number],
      default:''
    },
  },
  emits: ['update:modelValue'], //必备事件: 值更新
}
</script>

<template>
  <el-input :name="name" :modelValue="modelValue" @update:modelValue="$emit('update:modelValue', $event)" @blur="$emit('validate', modelValue)" style="width: 100%;">
  </el-input>
</template>

<style scoped lang="scss">

</style>